import Vue from 'vue';
import Vuex from 'vuex';

import config from "./modules/config.js";
import user from "./modules/user.js";
import menu from "./modules/menu.js";
import spacesManage from "./modules/spacesManage.js";
import datav from "./modules/datav.js";
import dict from './modules/dict'
import fire from './modules/fire'
import getters from './getters'

Vue.use(Vuex);

const store = new Vuex.Store({
    modules: {
        config,
        user,
        menu,
        spacesManage,
        datav,
        dict,
        fire
    },
    getters
});

export default store;